<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Purchase_type extends Model
{
    protected $table = 'purchase_type';

    public function purchases(){
        return $this->hasMany(Purchase::class, 'type_id');
    }

}